module.exports = {
    publicPath: './',
    //设置是否在开发环境下每次保存代码时都启用 eslint验证。
    lintOnSave: false,
    devServer: {
        open: true,
        proxy: {
            '/myd/': {
                target: 'https://mydxcx.gtmap.cn/myd',
                changeOrigin: true,
                secure: false,
                ws: true,
                pathRewrite: {
                    '^/myd/': '/'
                }
            },
        }
    },
    css: {
        loaderOptions: {
            less: {
                javascriptEnabled: true
            }
        }
    }
};